//Database Rules

{
  "rules": {
    ".read": "auth != null",
    ".write": "auth != null"
  }
}


//For specific user

{
  "rules": {
    ".read": "auth.uid === 'YOUR_USER_UID'",
    ".write": "auth.uid === 'YOUR_USER_UID'"
  }
}

